package com.noahedu.style.html3;

import android.graphics.drawable.Drawable;

import com.noahedu.style.html3.Html.ImageGetter;
import com.noahedu.style.ui.StyleApplication;

public class PicGeter implements ImageGetter
{

	@Override
	public Drawable getDrawable(String source)
	{

		Drawable dd = StyleApplication.getInstance().getResources().getDrawable(com.noahedu.style.R.drawable.test_pic);
		int w = dd.getIntrinsicWidth();
	    int h = 	dd.getIntrinsicHeight();
		
		dd.setBounds(0,0,w,h);
		
		return dd;
	}

}
